EventEmitter = {name = "EventEmitter"}

function EventEmitter:on(...)
	self._disp:on(...)
end

function EventEmitter:off(...)
	self._disp:off(...)
end

function EventEmitter:offAll()
	self._disp:offAll()
end

function EventEmitter:emit(...)
	self._disp:emit(...)
end

function EventEmitter:once(...)
	self._disp:once(...)
end

function EventEmitter:ctor()
	self._disp = EventDispatcher.new()
end